<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		
		<div class="webpart3 contentarea">
			<div class="webpart-head">
				<div class="webpart-head-item">
					明细显示
					<div class="tools-btn" style="margin-right: 4px; margin-bottom: 0px;">
					<input type="button" class="linkbtn2" value="返回" id="return" onclick = "javascript:history.go(-1);"></div>
				</div>
			</div>
			<div class="webpart-main">
			<div class="webpart-main-item" style="padding-top: 5px;">
			<div class="search">
				<table cellspacing="0" cellpadding="0"
					class="sortable trStyleTable dg_borderstyle" style="margin-top: 5px; width: 100%;text-align: center;">
					<thead>					
						<tr>
							<th>
								编号
							</th>
							<th>
								姓名
							</th>
							<th>
								层级
							</th>
							<th width="145px">
								考勤时间段
							</th>
							<th>
								缺勤总数(次)
							</th>
							</tr>
						</thead>
						<tbody>
						<c:forEach items="${list.resultList}" var="result">
							<tr class="gray datarow">
								<td>
									<span>
										<div>
											${result.agentCode}
										</div>
									</span>
								</td>
								<td>
									<span>
										<div>
											<a href="${path}/team/attendance/index/personal?
											agentcode=${result.agentCode}&agentname=${result.agentName}
											&agentlevel=${result.agentLevel}&checkstatus=${checkstatus}&checkitem=${checkitem}">
											${result.agentName}
											</a>
										</div>
									 </span>
								</td>
								<td>
									<div>
										<sfa:dic showType="value" code="AGENTLEVELCODE_${result.agentLevel}"></sfa:dic>
									</div>
								</td>
								<td>
									
										<span>${startime}</span>
										
										<span>${endtime}</span>
									
								</td>
								<td>
									<div>			
											<sfa:dic showType="value" code="${checkstatus}"></sfa:dic>:
											${result.noCheckWork}(次)
									</div>
								</td>
								</tr>
						</c:forEach>
						</tbody>
				</table>
				<!----------- 翻页导航 ------------------>
					<div class="dg_pagerstyle">
						<div class="pageinfo">
						</div>
						<div class="pagebtn">
						<c:if test="${not empty list.multiPage}">
							${list.multiPage}
						</c:if>
						</div>
					</div>
			</div>
		</div>
		</div>
			<div class="webpart-foot">
				<div class="webpart-foot-item">
				</div>
			</div>
		</div>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>


